import request from "@/utils/request";

export const getUserListApi = (params) => request.get("/admin/childToUser/list",{params})

export const deleteUserApi = (ids) => request.delete(`/admin/childToUser/delete?ids=${ids}`)

export const getUserByIdApi = (id) => request.get(`/admin/childToUser/getById?id=${id}`)

export const addUserApi = (data) => request.post("/admin/childToUser/save", data)

export const updateUserApi = (data) => request.put("/admin/childToUser/update", data)

export const getBirthdayRangeApi = (params) => request.get("/admin/childToUser/getBirthdayRange",{params})

